from flask import Flask
app = Flask(__name__)
#加载配置文件
from config import Config 
app.config.from_object(Config)
from flask_cors import CORS
CORS(app)
#注册优惠券蓝图模块
from course import bp_course
app.register_blueprint(bp_course,url_prefix='/course')
if __name__ == '__main__':
    app.run()
    